import { Modal } from 'antd'
import { ExclamationCircleFilled } from '@ant-design/icons'

export const confirmModalDelete = (onOk) => {
  Modal.confirm({
    title: '提示',
    icon: <ExclamationCircleFilled />,
    content: '确定删除吗?',
    okText: '确认',
    okType: 'danger',
    cancelText: '取消',
    centered: true,
    onOk
  })
}
